﻿using System;

namespace MockNetCore.Handlers
{
    public class BooleanHandler : TypeHandler
    {
        public object handle(Options options)
        {
            return new Random().Next(0, 2) == 1;
        }

        public Type[] support()
        {
            return new Type[] { typeof(bool) };
        }
    }
}